#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int a = 0, b = 0;
	while (scanf("%d%d", &a, &b) != EOF)
	{
		printf("a=%d,b=%d", a*b,b*a);

	}
	return 0;
}